package calao.contact.client;

public class Person 
extends Contact
{

	String firstName;
	int organization;

	public Person() { }
	
	public Person(int id) 
	{
		super(id);
	}

	public int getOrganization() 
	{
		return organization;
	}

	public void setOrganization(int organization) 
	{
		this.organization = organization;
	}

	public String getFirstName()
	{
		return firstName;
	}

	public void setFirstName(String firstName) 
	{
		this.firstName = firstName;
	}
	
	public String getLabel()
	{
		if (firstName==null) return name;
		if (name==null) return firstName;
		return firstName+" "+name;
	}
	
}
